package com.ruoyi.app.entity;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_user")
public class User extends Model<User> {

    /**
     * uuid
     */
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    /**
     * 手机号
     */
    @TableField("phone")
    private String phone;

    /**
     * 是否会员
     * 0：否
     * 1：是
     */
    @TableField("member")
    private Integer member;


    /**
     * 密码
     */
    @TableField("pwd")
    private String pwd;

    /**
     * 性别
     */
    @TableField("sex")
    private String sex;


    /**
     * 头像
     */
    @TableField("head_portrait")
    private String headPortrait;


    /**
     * 个人介绍
     */
    @TableField("introduction")
    private String introduction;

    /**
     * 微信号
     */
    @TableField("we_chat")
    private String weChat;

    /**
     * 手机号
     */
    @TableField("phone_number")
    private String phoneNumber;

    /**
     * 昵称
     */
    @TableField("nick_name")
    private String nickName;

    /**
     * 图片
     */
    @TableField("picture")
    private String picture;


    /**
     * 籍贯
     */
    @TableField("hometown")
    private String hometown;

    /**
     * 居住地
     */
    @TableField("place")
    private String place;

    /**
     * 婚姻状况
     */
    @TableField("marital_status")
    private String maritalStatus;

    /**
     * 职业
     */
    @TableField("profession")
    private String profession;

    /**
     * 身高
     */
    @TableField("height")
    private Integer height;

    /**
     * 学历
     */
    @TableField("education")
    private String education;

    /**
     * 月收入
     */
    @TableField("monthly_income")
    private String monthlyIncome;

    /**
     * 购车情况
     */
    @TableField("car_purchase")
    private String carPurchase;

    /**
     * 购房情况
     */
    @TableField("house_purchase")
    private String housePurchase;

    /**
     * 是否有小孩
     */
    @TableField("baby")
    private String baby;

    /**
     * 是否想要小孩
     */
    @TableField("give_birth")
    private String giveBirth;

    /**
     * 何时结婚
     */
    @TableField("marry")
    private String marry;

    /**
     * 择偶年龄：18-25
     */
    @TableField("claim_car_purchase")
    private String claimCarPurchase;

    /**
     * 居住地
     */
    @TableField("claim_place")
    private String claimPlace;

    /**
     * 婚姻状况
     */
    @TableField("claim_marital_status")
    private String claimMaritalStatus;

    /**
     * 职业
     */
    @TableField("claim_profession")
    private String claimProfession;

    /**
     * 身高 165-170
     */
    @TableField("claim_height")
    private String claimHeight;

    /**
     * 学历
     */
    @TableField("claim_education")
    private String claimEducation;

    /**
     * 月收入
     */
    @TableField("claim_monthly_income")
    private String claimMonthlyIncome;



    /**
     * 检测时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}
